package com.hanxu.springboot09starttime;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @EnableScheduling  开启异步注解功能注解
 * @EnableAsync        开启定时器功能注解
 */
@EnableScheduling
@EnableAsync
@SpringBootApplication
public class Springboot09StarttimeApplication {

    public static void main(String[] args) {
        SpringApplication.run(Springboot09StarttimeApplication.class, args);
    }

}
